package com.nuanshui.heatedloan.middleware.async.bean;

import java.lang.reflect.Method;

/**
 * 异步调用方法的包装类
 * @param 
 * @author guohao
 * @date 2016年12月5日 上午11:14:07
 * @since $
 */
public class AsyncMethod {

	public AsyncMethod(Object object, Method method, long timeout) {
		this.object = object;
		this.method = method;
		this.timeout = timeout;
	}

	private Object object;
	private Method method;
	private long timeout;

	public Method getMethod() {
		return method;
	}

	public void setMethod(Method method) {
		this.method = method;
	}

	public long getTimeout() {
		return timeout;
	}

	public void setTimeout(long timeout) {
		this.timeout = timeout;
	}

	public Object getObject() {
		return object;
	}

	public void setObject(Object object) {
		this.object = object;
	}
}
